
app.controller("clController",["$scope","clService",function($scope,clService){
	clService.getcl().success(function(res){
		//console.log(res.list)
		$scope.cl=res.list;
			$scope.boo=true,
			$scope.med="";
		$scope.pri=function(){
			$scope.boo=!$scope.boo;
			$scope.med="cprice";
			
		}
		$scope.bool=true,
			$scope.mede="";
		$scope.cou=function(){
			$scope.bool=!$scope.bool;
			$scope.mede="inventory";
		
		}
		$scope.res=function(){
			$scope.med="";
			$scope.mede="";
		}

	})
}]);
